going through custom reader and leafnode instead of custom node