images shrinked, smith rewritten