removed discarded functions