add new class error and adding function check entered args by broff