moving staff creation to the model