fix for passing in arguments