cleaned code and solved few bugs