functionality for instat