implemented Layout; untested
Layout passes tests!