refactoring, using char instead of string where its possible