add sample to demonstrate how to store Object that you create not java primitive type