Define your own class - resolution