deleted unnecesary entities copy, removed comments