move unused code to archive