Attempting to investigate issues with passing structs