using static json; using different height for different types