log sys model and stock validator