Removing duplicate method