updated comments and fixed header gaurds