reinvent package api