added new functions to NAMESPACE