units are getting the expected output