Lonely integer problem fixed