added better logging for less