correctly set model