added horizontal3n layout