delete deprecated method and change point to line