Return state and close function