changed to use retangle