added rectangle and bitmaptext above.