converting patch to use lens