added conversion util