Finished up reset logic and refactored code