Format comments and make sure to declare all variables properly