not really important but I don't see the need of returning null, returning 0 or returning 1, you do all of that.