added autochecking