adding names funktion finished, works well!