subscribe example compiles