add time changing method