refactor and add social media