started to implement model