refactored with sebi, reset works now