Add quiz photos
Refactor to functions
Refactor more functions