Added else clause, in case of invalid arg.