solving some char stuff