Working on model based approach