Finished the mutation function, has lots of warnings not sure why