overloaded save method to set index of arguments properly