Lines from 29 to 45 are no longer needed