add new functions, minor changes