indented ifs in model

just indented some stuff. shouldn't break anything