fixed the formatting for this code