add options attrib to endpoint
add subscribed method