removed old not used code.