it's a string variable, but yes it should probably be done differently.