logic change, adding comments