Debugging jin's code :(