added complexity to the script