please, move check of parameter to setter