Added fp to remove c++ compiler warnings.