improved and cleaned up comments