Block class now error-free