added reset and submit callbacks