Updated to remove Xcode warning