now the correct values are transmitted