adding label to components, doing some phpdoc