change let to before block for real this time