small changes, elifs and spelling