tested function with different numbers