moved reset call