got rid of all warnings