1) made function public