added rect component