add 10px padding and use return insted of wrongly used continue