gathering global value
Implemented checkbox selection