Code runs faster now. remove warning