Added block as required parameter