working on fixing warnings.