Fixed formatting and added comparison