disabled warnings and switched to o3 optimization