working on test cases
working on test cases
fixed gamma problems