Change the way sub is invoked