Updated variable usage, fixed formatting

Removed the declarations from the function call.
Added newline at the end.
Space after `,`