added support for only providing a unit and now defaults to 1