Use next in proc instead of return