added few new functions