Info extraction placed into provided code
Fixed singleton compile issue by making instance function static