A new function to generalise low-level analysis