testing codes to pull data from structure