add the liked() function