Fixed intake code stuff