method defintion code skeleton