fixed node args so that they are not backward
added more y-coordinates