Added sub to start processing data portion