Fixed 'bangbang' and added 'bangnumber' implementation