code clean up (removed unused func) and added brackets for checkbox on readme