created external method