added light intensity field;clear unused functions