layout almost complete