Simplified getting the MsLevel and deleted all references to the time
model