made the choice to use splice of pointers to avoid copying structs