add linked resource and stupid cache