add layout calculator