added slots to the model