sets up item flow