move label creating into base class