removed compile warnings - commented out unused variables/functions