inline if
add validations to yacht
test for wrong yacht params