initialize rectangle