rename function for more consistency