adding detail box