Renamed padToRight to padLeft and added padRight