made preliminary changes to parseBool()