added hieght mapping