Some new functions added