adding ruby dynamic ways