added bc_memstr