sample model implemented