removed absolete code.