bg custom control