minor tidy-up, replacing string method names with symbols