create extensions method and capture xerpi_shell