switched from boolean to string variables