added bc_strlen