reduced script lenght