add logic to model