took out console log debugging stuff