started to put elses after ifs