Add sample run method.