implemented bookmark mode