Added function handles for the different types of manipulation we'll be doing.