made script easier to read