Change agrument direction to char