refactored 'draw_item'