Used for padding, I've written a function to do this instead.