remove duplicates
doc strings added