put in check for correct id in photos