added selection rectangle