Change function name, remove unused log