added fucntion to do thing