Renamed log() to print()