added in else if statments