updated block formula