changed name of functions