optimized block almost done #7