added additional whitespace before/after functions for better readability