Made a new fucntion