Fixed formatting and renamed method