setup to grab data