added extra_info param, features check, some bug fixes