adding amult for array repeat