Added arguments number check