initial model working