Before padding work