Types: if there is no previous order start from zero