Need some help figuring out my code

and #10, and #28