Added strip-units function