added bias estimation