Added & Debugged : Check box function and other goal stuff