add a new post java swap trick