getting everything to work together