new feature fixed #172, fixed compliation errors