Added the UI part to memory