now accepts the unit measure for the width param