commiting working code.