add main class
move padding to main class