changed measurement from px to %