warnings taken care of