some warnings were removed