record_bb
copy code right from application memory