Adding base code for chips