add labels and customcss, filter based on toptype