adding newanchor param rather than allowing anchor to be read from json file