fiddled with lightfield code