remove duplicate method prototype