added marker detaching (still need to add marker attaching).