Gh394 git history

#394
these methods are used only in labelFunction
no need to create 7 methods only to use them once; so you can remove them