fixed solutions up so that references aren't stupid