If you have new code or idea about the post please help others to come to your logics by commenting under the post