taking out px and putting in ems