dogs and refactor into 2-dimensional atlas