adding detail panel