add new functions for helan lib