save the resource and calls as atoms