fixing mario logic but still needs some tweeks, trying to solve the
countdown problem too.