Adding brain compilation