Adapted to Pomm2 debc403