addapted compiler to 1.6