put reference into parser