Title: The earnings function