fixed comments, added types.h