add Rectangle and line