Fancy lens stuff

With some help from edwardk