edit- some threshold value and #define value
edit- move component drawing to draw.h