refactor into Paparazzi object