added handler and adjusted panels as prototype
some prototyping