Added basic intake code