issue-6: properly put mentioned ids into array
issue-6: clean up formatting