First working active resource implementation