Added ray pool struct