rename function to something accurate