Two models for earthquake forerunners