add dotmarks functionality added