DEFINE PARAMETERS AND DEVELOP TOOL