Added snippet for fetchedresultscontroller