Fixed compilation problem and added new cogged files