Added drawSymbol function