adding commets and fixing some things