stock model implemented