removed spaces from strings, changed type to const char*