store resource