Added miscellaneous newbcode