getting algorithm started