added comments streamlined some stuff