Commented unused code to prevent error pop up when running GUI