Changing 'current' to be 'chain'