Use log instead of the pure int. Sorry for the many commits, but my eclipse does not recognize the lines well.