refactors map show spec