Codes related to BARC project