Data structure now working.