clearer setter code in model layer