subshells set up but not working