added tired button, and got everything theoretically working