setswithkeysage echo implementation added