took out some old unused functions / variables