tie together all the pieces