got rid of empty function