converting module pattern to Board2