splitting to two views