compatibility with 1.4 and higher