refactored meme text method