replaced char with void