improving the getRecents functionalities