More functionality to command stat