added valve messages and other things