add cap setting