added krapivsky's model