start to code the interface of the particle filter