debugging for assignment photo