added stub snippet