Updated functions code to be more PSR-2 compliant