created internal layout