added an interface to resources