. bug fixed, passes all test now