removed (hopefully) unused functions