well it can be `elsif` or better use here switch statement.