replace volatile to final because it was meaningless