working basic model for habits