added unused var detector