implemented no-loop method