work on model/resource structure