changed type of coordinates. add bayes filtering model