handled some of those thousand warnings