declare height in graph