added missming method to fragment.