Fixed indentation
Renamed unused var to avoid warning