Got rid of unused var