Type error: attribute call used as instruction. What to do: call a procedure rather than an attribute, or keep the attribute but use the call as expression rather than instruction.