added parseNode method
use cache for rugby