Added between functions and tests