updated shell using the simpler version