Block settings

supersedes #65