brick parsing and version check