getting rid of all warnings