Removed the removePad function - it was unnecessary