Added id to the rect