removed discarded code