updated controller, get_entries()