changed string literals to const chars