Added extra funcitons