minor code changes
removed copy