converted all units to pixels