First attempt to tie everything together