modified generall layout structure