created new functions