rewrite of expose method