Adding the expected functions