changed name of the funtion