trying to get rid of warnings