Finish data structure definition