removed reference to active record