added recent functionality