updated examples to pass arguments array manually