complete padicxx (except for documentation and TODOs)