private void setUpLegend() {
		Texture authorImage = new Texture();
        try {
        	authorImage.loadFromFile(Paths.get("resources","author.png"));
		} catch (IOException e) {
			System.out.println("Error in package sign sprite load");
		}
        
        float maxLength = 0;
		int authorYPosition = 10;
        for (Map.Entry<String, Author> entry: allAuthors.entrySet()) {
        	Author author = entry.getValue();
        	Text authorNameText = new Text(author.getAuthorName(), defaultFont, 12);
        	Sprite authorSprite = author.getAuthorSprite();
        	authorSprite.setPosition(10, authorYPosition);
        	authorSprite.setColor(author.getAuthorColor());
        	authorSprite.setTexture(authorImage);
        	authorNameText.setPosition(authorSprite.getPosition().x, authorSprite.getPosition().y + authorNameText.getLocalBounds().height + 3);
        	authorNameText.setColor(author.getAuthorColor());
        	author.setAuthorNameText(authorNameText);
        	authorYPosition=(int) (authorYPosition+authorSprite.getLocalBounds().height + authorNameText.getLocalBounds().height + 5);
        	
        	if (author.getAuthorNameText().getLocalBounds().width > maxLength) {
        		maxLength = author.getAuthorNameText().getLocalBounds().width;
        	}
        }   

        
     	
        
        setupLegendView(maxLength + 15);
	}