added argskws function