got rid of the warnings