add x range and y height