Version with most of funtionality