add come empty lines and fix minor errors