lattice api modification
Merge remote-tracking branch 'origin/master'