written pattern