now creating shell-mode