nice working version. need to add rectangular selector