removed getentiyinfo, made getinfo global