Changed function arguments to match the name in instructions