removes duplicate method