Fixeed problems with code#2