added lines for easier debugging