added separate legal values functions: less confusing