just noticed that current isn't used properly