putting things together before switching to faster solution