Use Previous Commit. Refining Code from here. Will be Buggy.