Don't use global functions if you have classes to do the job!