Can not get a storing system to work.

You need target for casting, in your first picture you dont have input for cast, thats why it fails.