sets up details label