refactored code and added fontawesome