link everything together