add duplicate method to end point