Adding apply Code Demo