added stripping strings in parse method