used setnames() & cleaned comments