Implemented location incrementing/decrementing functions.