refactored naming to camel case: e.g. TID -> TId
fixed flos hints