implemented my own split layout