got the functionality of results