corrected indentation and consolidated board creation