tying everything together