First attempt at handling function parameters