Implemented three mouse button selecting