changing names of 2 functions