Thanks, guys! I put a constructor in my structure like you suggested, and it worked.