eliminated all compiler warnings that could have been taken care of as of yet