extended last_checked() function to 3 functions