added fucntion calls