pass pointers around instead of coping whole structs