eleminating compilation warnings