fixed working examples