add margin and basic label feature.