making sample extension with peer dependency