added zm mapping to center horizontally