ENH: added new functions