now storing resource versions!