removed comments and printouts