add pic + small format

- deleted some unused code