modified the potential field