removed old attr functions