using haxml dynamically