Custom multishell implementation that I understand