completed contains method