change function from upper to lowercase