circle widget and arrow widget implementation