cleaned up anime management function