Deleted unused lines and methods