first "almost-complete" version