added func to get terminal size