Integrate inital code to perform clip and parse