add optional dependancy to get rid of warnings