implementing last time used