you can add log() method here for easier debugging