played with arrays refs for a while