classes layout