almost finished with popi wrapper