added Johnsons code for the gallery. pretty solid!