working on splitting front element