complete add show time function