move plasma into the constructor