Implementing a simple model