Refactor pad_me method to remove loop