fixed 'deprecated conversion from string to char*'
changed timer variables to unsigned variables