forgot to remove unused variable