wrapper update suggested by aj to allow arguments to be passed