created another var and else if