Implemented do_bg