make extension actually take extra args