indentation fixed. windows runs mostly.