write a new shell