Added a fuction for mutation