A simple implementation of the shell