Now checks if input is array