protect methods from calling