simpler interface to specify unit