Almost there. Doesn't reset though, which is bad.