pack before mojo implementation