initial script with solution