1.1 ORGANIZE CODE A BIT AND ADDED SOME COMMENTS