added main drawing