added top-mode