Define structures necessary for this