not compiling the way i'd like