Finished matIntake function