improved coap usage