Added start of code for lens object