remove hardcoded values in state code so it cna be used to launch any values.