added name label and related functionality