implement sample test code