handle ptr to structs better