Recompiled and added resetButton