modified call to primaryblock