trying to add function
updating