noob need help understanding function parameters