added time interval in border char change