using Object to associate data