small fix - returning self, not resource