Use checkString in all functions