add choice between metric and imperial units