testing new application state hooks to simplify external API