work on model resource