Supporting code for instrumentation class at Universidade Nova de Lisboa