Fixed formatting, fixed code.