Testing output styles. Refactored code for drawing iamge