added dash code and updated docs