The two functions were created