Implementation of pangolin v0.3.5