rearrenged initialization to delete the warning